//
//  NOViewController.m
//  SingleVIewApplacation
//
//  Created by student on 13-12-5.
//  Copyright (c) 2013年 student. All rights reserved.
//

#import "NOViewController.h"

@interface NOViewController ()

@end

@implementation NOViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



- (IBAction)tached:(id)sender {
    UIButton *btn = (UIButton*) sender;
    NSString *btnName =[btn titleForState:UIControlStateNormal];//普通状态//高亮//被选
    self.label.text = [NSString stringWithFormat:@"%@按钮被按了",btnName];

}
@end
